﻿using Prism.Ioc;
using Prism.Modularity;
using Prism.Regions;
using AIStudio.Wpf.HomePage.Views;

namespace AIStudio.Wpf.HomePage
{
    public class HomePageModule : IModule
    {
        public void OnInitialized(IContainerProvider containerProvider)
        {
            var regionManager = containerProvider.Resolve<IRegionManager>();
            regionManager.RegisterViewWithRegion("MainContentRegion", typeof(MainView));

            regionManager.RegisterViewWithRegion("ContentRegion", typeof(MainTabView));
          
        }

        public void RegisterTypes(IContainerRegistry containerRegistry)
        {

        }
    }
}
